﻿using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.InteropServices;
using Teigha.Core;

namespace Teigha.TD
{
	public class OdDbGeometryOverrule : OdRxOverrule
	{
		[EditorBrowsable(EditorBrowsableState.Never)]
		public OdDbGeometryOverrule(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbGeometryOverrule_SWIGUpcast(cPtr), cMemoryOwn)
		{
			this.swigCPtr = new HandleRef(this, cPtr);
		}

		[EditorBrowsable(EditorBrowsableState.Never)]
		public static HandleRef getCPtr(OdDbGeometryOverrule obj)
		{
			if (obj != null)
			{
				return obj.swigCPtr;
			}
			return new HandleRef(null, IntPtr.Zero);
		}

		~OdDbGeometryOverrule()
		{
			this.Dispose();
		}

		public override void Dispose()
		{
			if (this.swigCPtr.Handle != IntPtr.Zero)
			{
				if (this.swigCMemOwn)
				{
					lock (this.locker)
					{
						if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
						{
							this.swigCMemOwn = false;
							TD_DbPINVOKE.delete_OdDbGeometryOverrule(this.swigCPtr);
						}
					}
					this.swigCMemOwn = false;
				}
				this.swigCPtr = new HandleRef(null, IntPtr.Zero);
			}
			GC.SuppressFinalize(this);
			base.Dispose();
		}

		public OdDbGeometryOverrule() : this(TD_DbPINVOKE.new_OdDbGeometryOverrule(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
		{
			MemoryTransaction currentTransaction = MemoryManager.GetMemoryManager().GetCurrentTransaction();
			if (currentTransaction != null)
			{
				currentTransaction.AddObject(new OdDbGeometryOverrule(this.swigCPtr.Handle, true));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			this.SwigDirectorConnect();
		}

		public new static OdDbGeometryOverrule cast(OdRxObject pObj)
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbGeometryOverrule_cast(OdRxObject.getCPtr(pObj));
			OdDbGeometryOverrule result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbGeometryOverrule)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbGeometryOverrule)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbGeometryOverrule)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdRxClass desc()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(TD_DbPINVOKE.OdDbGeometryOverrule_desc(), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxClass isA()
		{
			OdRxClass result = (OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("isA", OdDbGeometryOverrule.swigMethodTypes1) ? TD_DbPINVOKE.OdDbGeometryOverrule_isASwigExplicitOdDbGeometryOverrule(this.swigCPtr) : TD_DbPINVOKE.OdDbGeometryOverrule_isA(this.swigCPtr), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new virtual OdRxObject queryX(OdRxClass protocolClass)
		{
			OdRxObject result = Teigha.Core.Helpers.odrxCreateObjectInternal(this.SwigDerivedClassHasMethod("queryX", OdDbGeometryOverrule.swigMethodTypes0) ? TD_DbPINVOKE.OdDbGeometryOverrule_queryXSwigExplicitOdDbGeometryOverrule(this.swigCPtr, OdRxClass.getCPtr(protocolClass)) : TD_DbPINVOKE.OdDbGeometryOverrule_queryX(this.swigCPtr, OdRxClass.getCPtr(protocolClass)), false);
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public new static OdDbGeometryOverrule createObject()
		{
			MemoryManager memoryManager = MemoryManager.GetMemoryManager();
			MemoryTransaction currentTransaction = memoryManager.GetCurrentTransaction();
			IntPtr p = TD_DbPINVOKE.OdDbGeometryOverrule_createObject();
			OdDbGeometryOverrule result;
			if (currentTransaction != null)
			{
				currentTransaction.AddObject((OdDbGeometryOverrule)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true));
				result = (OdDbGeometryOverrule)Teigha.Core.Helpers.odrxCreateObjectInternal(p, false);
			}
			else
			{
				result = (OdDbGeometryOverrule)Teigha.Core.Helpers.odrxCreateObjectInternal(p, true);
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult intersectWith(OdDbEntity pThisEnt, OdDbEntity pEnt, Intersect intType, OdGePoint3dArray points, IntPtr thisGsMarker, IntPtr otherGsMarker)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes3) ? TD_DbPINVOKE.OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_0(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePoint3dArray.getCPtr(points), thisGsMarker, otherGsMarker) : TD_DbPINVOKE.OdDbGeometryOverrule_intersectWith__SWIG_0(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePoint3dArray.getCPtr(points), thisGsMarker, otherGsMarker));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult intersectWith(OdDbEntity pThisEnt, OdDbEntity pEnt, Intersect intType, OdGePoint3dArray points, IntPtr thisGsMarker)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes4) ? TD_DbPINVOKE.OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_1(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePoint3dArray.getCPtr(points), thisGsMarker) : TD_DbPINVOKE.OdDbGeometryOverrule_intersectWith__SWIG_1(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePoint3dArray.getCPtr(points), thisGsMarker));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult intersectWith(OdDbEntity pThisEnt, OdDbEntity pEnt, Intersect intType, OdGePoint3dArray points)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes5) ? TD_DbPINVOKE.OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_2(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePoint3dArray.getCPtr(points)) : TD_DbPINVOKE.OdDbGeometryOverrule_intersectWith__SWIG_2(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePoint3dArray.getCPtr(points)));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult intersectWith(OdDbEntity pThisEnt, OdDbEntity pEnt, Intersect intType, OdGePlane projPlane, OdGePoint3dArray points, IntPtr thisGsMarker, IntPtr otherGsMarker)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes6) ? TD_DbPINVOKE.OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_3(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePlane.getCPtr(projPlane), OdGePoint3dArray.getCPtr(points), thisGsMarker, otherGsMarker) : TD_DbPINVOKE.OdDbGeometryOverrule_intersectWith__SWIG_3(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePlane.getCPtr(projPlane), OdGePoint3dArray.getCPtr(points), thisGsMarker, otherGsMarker));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult intersectWith(OdDbEntity pThisEnt, OdDbEntity pEnt, Intersect intType, OdGePlane projPlane, OdGePoint3dArray points, IntPtr thisGsMarker)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes7) ? TD_DbPINVOKE.OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_4(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePlane.getCPtr(projPlane), OdGePoint3dArray.getCPtr(points), thisGsMarker) : TD_DbPINVOKE.OdDbGeometryOverrule_intersectWith__SWIG_4(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePlane.getCPtr(projPlane), OdGePoint3dArray.getCPtr(points), thisGsMarker));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult intersectWith(OdDbEntity pThisEnt, OdDbEntity pEnt, Intersect intType, OdGePlane projPlane, OdGePoint3dArray points)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes8) ? TD_DbPINVOKE.OdDbGeometryOverrule_intersectWithSwigExplicitOdDbGeometryOverrule__SWIG_5(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePlane.getCPtr(projPlane), OdGePoint3dArray.getCPtr(points)) : TD_DbPINVOKE.OdDbGeometryOverrule_intersectWith__SWIG_5(this.swigCPtr, OdDbEntity.getCPtr(pThisEnt), OdDbEntity.getCPtr(pEnt), (int)intType, OdGePlane.getCPtr(projPlane), OdGePoint3dArray.getCPtr(points)));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		public virtual OdResult getGeomExtents(OdDbEntity pSubject, OdGeExtents3d extents)
		{
			OdResult result = (OdResult)(this.SwigDerivedClassHasMethod("getGeomExtents", OdDbGeometryOverrule.swigMethodTypes9) ? TD_DbPINVOKE.OdDbGeometryOverrule_getGeomExtentsSwigExplicitOdDbGeometryOverrule(this.swigCPtr, OdDbEntity.getCPtr(pSubject), OdGeExtents3d.getCPtr(extents)) : TD_DbPINVOKE.OdDbGeometryOverrule_getGeomExtents(this.swigCPtr, OdDbEntity.getCPtr(pSubject), OdGeExtents3d.getCPtr(extents)));
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			return result;
		}

		private void SwigDirectorConnect()
		{
			if (this.SwigDerivedClassHasMethod("queryX", OdDbGeometryOverrule.swigMethodTypes0))
			{
				this.swigDelegate0 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_0(this.SwigDirectorqueryX);
			}
			if (this.SwigDerivedClassHasMethod("isA", OdDbGeometryOverrule.swigMethodTypes1))
			{
				this.swigDelegate1 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_1(this.SwigDirectorisA);
			}
			if (this.SwigDerivedClassHasMethod("isApplicable", OdDbGeometryOverrule.swigMethodTypes2))
			{
				this.swigDelegate2 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_2(this.SwigDirectorisApplicable);
			}
			if (this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes3))
			{
				this.swigDelegate3 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_3(this.SwigDirectorintersectWith__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes4))
			{
				this.swigDelegate4 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_4(this.SwigDirectorintersectWith__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes5))
			{
				this.swigDelegate5 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_5(this.SwigDirectorintersectWith__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes6))
			{
				this.swigDelegate6 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_6(this.SwigDirectorintersectWith__SWIG_3);
			}
			if (this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes7))
			{
				this.swigDelegate7 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_7(this.SwigDirectorintersectWith__SWIG_4);
			}
			if (this.SwigDerivedClassHasMethod("intersectWith", OdDbGeometryOverrule.swigMethodTypes8))
			{
				this.swigDelegate8 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_8(this.SwigDirectorintersectWith__SWIG_5);
			}
			if (this.SwigDerivedClassHasMethod("getGeomExtents", OdDbGeometryOverrule.swigMethodTypes9))
			{
				this.swigDelegate9 = new OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_9(this.SwigDirectorgetGeomExtents);
			}
			TD_DbPINVOKE.OdDbGeometryOverrule_director_connect(this.swigCPtr, this.swigDelegate0, this.swigDelegate1, this.swigDelegate2, this.swigDelegate3, this.swigDelegate4, this.swigDelegate5, this.swigDelegate6, this.swigDelegate7, this.swigDelegate8, this.swigDelegate9);
		}

		private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes)
		{
			MethodInfo method = base.GetType().GetMethod(methodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, methodTypes, null);
			return method.DeclaringType.IsSubclassOf(typeof(OdDbGeometryOverrule));
		}

		private IntPtr SwigDirectorqueryX(IntPtr protocolClass)
		{
			return OdRxObject.getCPtr(this.queryX((OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(protocolClass, false))).Handle;
		}

		private IntPtr SwigDirectorisA()
		{
			return OdRxClass.getCPtr(this.isA()).Handle;
		}

		private bool SwigDirectorisApplicable(IntPtr pOverruledSubject)
		{
			return this.isApplicable(Teigha.Core.Helpers.odrxCreateObjectInternal(pOverruledSubject, false));
		}

		private int SwigDirectorintersectWith__SWIG_0(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr points, IntPtr thisGsMarker, IntPtr otherGsMarker)
		{
			return (int)this.intersectWith((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pThisEnt, false), (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pEnt, false), (Intersect)intType, new OdGePoint3dArray(points, false), thisGsMarker, otherGsMarker);
		}

		private int SwigDirectorintersectWith__SWIG_1(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr points, IntPtr thisGsMarker)
		{
			return (int)this.intersectWith((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pThisEnt, false), (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pEnt, false), (Intersect)intType, new OdGePoint3dArray(points, false), thisGsMarker);
		}

		private int SwigDirectorintersectWith__SWIG_2(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr points)
		{
			return (int)this.intersectWith((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pThisEnt, false), (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pEnt, false), (Intersect)intType, new OdGePoint3dArray(points, false));
		}

		private int SwigDirectorintersectWith__SWIG_3(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr projPlane, IntPtr points, IntPtr thisGsMarker, IntPtr otherGsMarker)
		{
			return (int)this.intersectWith((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pThisEnt, false), (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pEnt, false), (Intersect)intType, new OdGePlane(projPlane, false), new OdGePoint3dArray(points, false), thisGsMarker, otherGsMarker);
		}

		private int SwigDirectorintersectWith__SWIG_4(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr projPlane, IntPtr points, IntPtr thisGsMarker)
		{
			return (int)this.intersectWith((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pThisEnt, false), (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pEnt, false), (Intersect)intType, new OdGePlane(projPlane, false), new OdGePoint3dArray(points, false), thisGsMarker);
		}

		private int SwigDirectorintersectWith__SWIG_5(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr projPlane, IntPtr points)
		{
			return (int)this.intersectWith((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pThisEnt, false), (OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pEnt, false), (Intersect)intType, new OdGePlane(projPlane, false), new OdGePoint3dArray(points, false));
		}

		private int SwigDirectorgetGeomExtents(IntPtr pSubject, IntPtr extents)
		{
			return (int)this.getGeomExtents((OdDbEntity)Teigha.Core.Helpers.odrxCreateObjectInternal(pSubject, false), new OdGeExtents3d(extents, false));
		}

		private object locker = new object();

		private HandleRef swigCPtr;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_0 swigDelegate0;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_1 swigDelegate1;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_2 swigDelegate2;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_3 swigDelegate3;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_4 swigDelegate4;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_5 swigDelegate5;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_6 swigDelegate6;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_7 swigDelegate7;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_8 swigDelegate8;

		private OdDbGeometryOverrule.SwigDelegateOdDbGeometryOverrule_9 swigDelegate9;

		private static Type[] swigMethodTypes0 = new Type[]
		{
			typeof(OdRxClass)
		};

		private static Type[] swigMethodTypes1 = new Type[0];

		private static Type[] swigMethodTypes2 = new Type[]
		{
			typeof(OdRxObject)
		};

		private static Type[] swigMethodTypes3 = new Type[]
		{
			typeof(OdDbEntity),
			typeof(OdDbEntity),
			typeof(Intersect),
			typeof(OdGePoint3dArray),
			typeof(IntPtr),
			typeof(IntPtr)
		};

		private static Type[] swigMethodTypes4 = new Type[]
		{
			typeof(OdDbEntity),
			typeof(OdDbEntity),
			typeof(Intersect),
			typeof(OdGePoint3dArray),
			typeof(IntPtr)
		};

		private static Type[] swigMethodTypes5 = new Type[]
		{
			typeof(OdDbEntity),
			typeof(OdDbEntity),
			typeof(Intersect),
			typeof(OdGePoint3dArray)
		};

		private static Type[] swigMethodTypes6 = new Type[]
		{
			typeof(OdDbEntity),
			typeof(OdDbEntity),
			typeof(Intersect),
			typeof(OdGePlane),
			typeof(OdGePoint3dArray),
			typeof(IntPtr),
			typeof(IntPtr)
		};

		private static Type[] swigMethodTypes7 = new Type[]
		{
			typeof(OdDbEntity),
			typeof(OdDbEntity),
			typeof(Intersect),
			typeof(OdGePlane),
			typeof(OdGePoint3dArray),
			typeof(IntPtr)
		};

		private static Type[] swigMethodTypes8 = new Type[]
		{
			typeof(OdDbEntity),
			typeof(OdDbEntity),
			typeof(Intersect),
			typeof(OdGePlane),
			typeof(OdGePoint3dArray)
		};

		private static Type[] swigMethodTypes9 = new Type[]
		{
			typeof(OdDbEntity),
			typeof(OdGeExtents3d)
		};

		public delegate IntPtr SwigDelegateOdDbGeometryOverrule_0(IntPtr protocolClass);

		public delegate IntPtr SwigDelegateOdDbGeometryOverrule_1();

		public delegate bool SwigDelegateOdDbGeometryOverrule_2(IntPtr pOverruledSubject);

		public delegate int SwigDelegateOdDbGeometryOverrule_3(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr points, IntPtr thisGsMarker, IntPtr otherGsMarker);

		public delegate int SwigDelegateOdDbGeometryOverrule_4(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr points, IntPtr thisGsMarker);

		public delegate int SwigDelegateOdDbGeometryOverrule_5(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr points);

		public delegate int SwigDelegateOdDbGeometryOverrule_6(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr projPlane, IntPtr points, IntPtr thisGsMarker, IntPtr otherGsMarker);

		public delegate int SwigDelegateOdDbGeometryOverrule_7(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr projPlane, IntPtr points, IntPtr thisGsMarker);

		public delegate int SwigDelegateOdDbGeometryOverrule_8(IntPtr pThisEnt, IntPtr pEnt, int intType, IntPtr projPlane, IntPtr points);

		public delegate int SwigDelegateOdDbGeometryOverrule_9(IntPtr pSubject, IntPtr extents);
	}
}
